# -*- coding: utf-8; mode: snippet -*-
# name: (advice-add ... :around)
# key: advice
# contributor: Chen Bin <chenbin DOT sh AT gmail>
# --
(defun my-${1:$(yas/substr yas-text "[^ ]*")}-hack (orig-func &rest args)
   (apply orig-func args))
(advice-add '${1:find-file} :around #'my-${1:$(yas/substr yas-text "[^ ]*")}-hack)